﻿package puziran.party.domain;

import puziran.sofa.util.SysUtil;

public class Party { // 会员表
	private String partyid; // 会员ID
	private String partyname; // 用户名称
	private String nickname;//昵称
	private String sourceofdata;//来源
	private String mobilenumber; // 手机号码
	private String mobilenumberisactive; // 激活手机
	private String email; // 邮箱地址
	private String emailactivecode;//邮箱激活码
	private String emailisactive; // 激活邮箱
	private String inputdate; // 输入日期 更新时间
	
	public String getPartyid() {
		if (partyid != null) {
			if (new SysUtil().isInt(partyid) == false)
				partyid = null;
		}
		return partyid;
	}

	public void setPartyid(String partyid) {
		if (partyid != null) {
			if (new SysUtil().isInt(partyid) == false)
				partyid = null;
		}
		this.partyid = partyid;
	}

	public String getNickname() {
		if (nickname != null) {
			if ("".equals(nickname))
				nickname = null;
		}
		return nickname;
	}

	public void setNickname(String nickname) {
		if (nickname != null) {
			if ("".equals(nickname))
				nickname = null;
		}
		this.nickname = nickname;
	}
	
	public String getSourceofdata() {
		if (sourceofdata != null) {
			if ("".equals(sourceofdata))
				sourceofdata = null;
		}
		return sourceofdata;
	}

	public void setSourceofdata(String sourceofdata) {
		if (sourceofdata != null) {
			if ("".equals(sourceofdata))
				sourceofdata = null;
		}
		this.sourceofdata = sourceofdata;
	}
	
	public String getPartyname() {
		if (partyname != null) {
			if ("".equals(partyname))
				partyname = null;
		}
		return partyname;
	}

	public void setPartyname(String partyname) {
		if (partyname != null) {
			if ("".equals(partyname))
				partyname = null;
		}
		this.partyname = partyname;
	}

	public String getMobilenumber() {
		if (mobilenumber != null) {
			if ("".equals(mobilenumber))
				mobilenumber = null;
		}
		return mobilenumber;
	}

	public void setMobilenumber(String mobilenumber) {
		if (mobilenumber != null) {
			if ("".equals(mobilenumber))
				mobilenumber = null;
		}
		this.mobilenumber = mobilenumber;
	}

	public String getMobilenumberisactive() {
		if (mobilenumberisactive != null) {
			if ("".equals(mobilenumberisactive))
				mobilenumberisactive = null;
		}
		return mobilenumberisactive;
	}

	public void setMobilenumberisactive(String mobilenumberisactive) {
		if (mobilenumberisactive != null) {
			if ("".equals(mobilenumberisactive))
				mobilenumberisactive = null;
		}
		this.mobilenumberisactive = mobilenumberisactive;
	}

	public String getEmail() {
		if (email != null) {
			if ("".equals(email))
				email = null;
		}
		return email;
	}

	public void setEmail(String email) {
		if (email != null) {
			if ("".equals(email))
				email = null;
		}
		this.email = email;
	}
	
	public String getEmailactivecode() {
		if (emailactivecode != null) {
			if ("".equals(emailactivecode))
				emailactivecode = null;
		}
		return emailactivecode;
	}

	public void setEmailactivecode(String emailactivecode) {
		if (emailactivecode != null) {
			if ("".equals(emailactivecode))
				emailactivecode = null;
		}
		this.emailactivecode = emailactivecode;
	}
	public String getEmailisactive() {
		if (emailisactive != null) {
			if ("".equals(emailisactive))
				emailisactive = null;
		}
		return emailisactive;
	}

	public void setEmailisactive(String emailisactive) {
		if (emailisactive != null) {
			if ("".equals(emailisactive))
				emailisactive = null;
		}
		this.emailisactive = emailisactive;
	}

	public String getInputdate() {
		if (inputdate != null) {
			if ("".equals(inputdate))
				inputdate = null;
		}
		return inputdate;
	}
	public void setInputdate(String inputdate) {
		if (inputdate != null) {
			if ("".equals(inputdate))
				inputdate = null;
		}
		this.inputdate = inputdate;
	}
}